package com.sword.service.sale;

import com.sword.page.PageResult;
import com.sword.page.QueryPageBean;
import com.sword.pojo.sale.SaleorderDetail;

public interface SaleorderDetailService {
    // 分页查询单据
    PageResult querySaleorderDetail(QueryPageBean queryPageBean);

    // 添加单据
    Integer addSaleorderDetail(SaleorderDetail saleorderDetail);

    // 编辑单据
    Integer editSaleorderDetail(SaleorderDetail saleorderDetail);

    // 审核单据
    Integer examineSaleorderDetail(SaleorderDetail saleorderDetail);

    //弃审单据
    Integer unexamineSaleorderDetail(SaleorderDetail saleorderDetail);

    // 删除单据
    Integer deleteSaleorderDetail(Integer id);
}
